package com.xjtu.platform.security.forgetPwd;

import java.util.Map;

public interface ForgetPwdService {
    Map<String, Object> getEmail(ForgetPwdDto forgetPwdDto);

    int getFlag(ForgetPwdDto forgetPwdDto);

    boolean updatePwd(ForgetPwdDto forgetPwdDto);

    boolean insertFlag(ForgetPwdDto forgetPwdDto, int code);

    long getCachetime(String user_id);
}
